package com.xncoding.design.ZeRenLian.demo2;

/**
 * @author Dax
 * @since 16:05  2019/9/24
 */
public class Handler02 implements Handler {
    @Override
    public void doHandler(RequestSource requestSource, HandlerChain handlerChain) {
        Integer body = requestSource.getFooter()  ;
        System.out.println("footer = " + body);
//        if (body > requestSource.getFooter()) {
            handlerChain.doChain(requestSource);
//        }

    }
}
